//
//  OTAHelper.h
//  CareRingApp
//
//  Created by Linktop on 2022/9/7.
//

#import <Foundation/Foundation.h>
//#import "OTAHeader.h"
#import "OTAImgObj.h"

NS_ASSUME_NONNULL_BEGIN

#define OTA_HOST @"linktop.ltd"


@interface OTAHelper : NSObject
+(OTAHelper *) Instance;
@property(strong, nonatomic)OTAImgObj *imgObj;

-(void)otaQueryUpgrade:(NSString *)host  Cat:(NSString *)cat CBK:(void(^)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error, NSDictionary* _Nullable resultDict))cbk;


- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
